package string;

import java.util.Scanner;

public class Mora {

	public void judgeMora(String one,String two) {
		if(one.equals(two)) {
			System.out.println("Equal");
		} else if (one.equals("Rock")&&two.equals("Scissors") || one.equals("Cloth")&&two.equals("Rock") || one.equals("Scissors")&&two.equals("Cloth")) {
			System.out.println("Win");
		} else {
			System.out.println("Lose");
		}
	}
	
	public static void main(String[] args) {
		String str1 = "";
		String str2 = "";
		Mora mora = new Mora();
		Scanner in = new Scanner(System.in);
		while(in.hasNext()) {
			str1 = in.next();
			str2 = in.next();
			mora.judgeMora(str1, str2);
		}
		in.close();
	}
	
}
